<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js导入方式</title>
    <script>
        console.log("hello,head标签的内联式")
        alert("您好，内联head样式")
    </script>
    <script src="../js/myscript.js">

    </script>
</head>
<body>
    <h1>js的导入方式</h1>
   <script>
    console.log("hello,body标签的内联式")
    alert("您好，内联body样式")
   </script>
</body>
</html>